<?php

/**
* @current cmsappversionspictures.php
* @author   LiuYang <liu_yang@haibao.com>
* @date 2017年2月8日 下午6:18:02
*/
namespace haibao\jiepai\model\data\app;

class CmsAppVersionsPictures extends \haibao\jiepai\model\data\Base{
	/**
	 * 删除时置为-1，默认是0
	 * 是否是删除
	 */
	const FLAG_IS = 0;
	const FLAG_DEL = -1;
	
    /**
     * 对应versions表ID
     */
    public $VersionID;
    
    /**
     * 图片ID
     */
    public $FileID;
    
    public $ShowIndex;
    
    public $Flag;
    
    public $CreateTime;
    
    public function __construct(){
        parent::__construct();
        $this->intField('VersionID', 'VersionID');
        $this->intField('FileID', 'FileID');
        $this->intField('ShowIndex', 'ShowIndex');
        $this->intField('Flag', 'Flag');
        $this->dateField('CreateTime', 'CreateTime');
        $this->setTableName('cms_app_versions_pictures');
    }
}
